package org.eiahe.hr.employeeRelation.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ehe.common.mybatis.core.domain.BaseEntity;

import java.util.Date;

/**
 * 技术研发协议表
 *
 * @author zhangnn
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hr_technology_agreement")
public class TechnologyAgreement extends BaseEntity {

    /**
     * 协议ID
     */
    @TableId(value = "agreement_id", type = IdType.AUTO)
    private Long agreementId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 员工ID
     */
    private Long employeeId;

    /**
     * 工号
     */
    private String employeeNo;

    /**
     * 协议名称
     */
    private String agreementName;

    /**
     * 协议内容
     */
    private String agreementContent;

    /**
     * 签订时间
     */
    private Date signDate;

    /**
     * 生效时间
     */
    private Date effectiveDate;

    /**
     * 失效时间
     */
    private Date expiryDate;

    /**
     * 附件
     */
    private String attachment;
}